package com.hd.system.common.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.hd.base.controller.BaseController;
import com.hd.base.service.BaseService;
import com.hd.system.common.model.DictModel;
import com.hd.system.common.service.DictService;
import com.hd.util.ResultCommonUtils;


@Controller
@RequestMapping("/dict")
public class DictController extends BaseController<DictModel> {

	@Autowired
	private DictService dictService;


	@Override
	public BaseService<DictModel> getBaseService() {
		// TODO Auto-generated method stub
		return dictService;
	}

	@Override
	public ResultCommonUtils saveModel(HttpServletRequest request, DictModel model) {
		// TODO Auto-generated method stub
		return super.saveModel(request, model);
	}

	@Override
	public ResultCommonUtils updateModel(HttpServletRequest request, DictModel model) {
		// TODO Auto-generated method stub
		return super.updateModel(request, model);
	}

	@Override
	public ResultCommonUtils deleteModel(HttpServletRequest request, String id) {
		// TODO Auto-generated method stub
		return super.deleteModel(request, id);
	}

	@Override
	public ResultCommonUtils queryByList(HttpServletRequest request, DictModel model) {
		// TODO Auto-generated method stub
		return super.queryByList(request, model);
	}

}
